// 组件统一导出

// 基础组件
import BaseTable from './base/BaseTable.vue'
import BaseForm from './base/BaseForm.vue'
import BaseDialog from './base/BaseDialog.vue'
import BasePagination from './base/BasePagination.vue'
import BaseActionButtons from './base/BaseActionButtons.vue'
import BaseStatusTag from './base/BaseStatusTag.vue'
import SearchBar from './base/SearchBar.vue'
import IconSelector from './base/IconSelector.vue'

// 业务组件
import {
  CustomerGradeSelector,
  CustomerSourceSelector,
  CustomerStatusSelector,
} from './business/customer'
import { RegionCascader } from './business/region'

// 布局组件
import Header from './layout/Header.vue'

// 公共组件
import { GlobalDrawer } from './common'

// 统一导出
export {
  // 基础组件
  BaseTable,
  BaseForm,
  BaseDialog,
  BasePagination,
  BaseActionButtons,
  BaseStatusTag,
  SearchBar,
  IconSelector,

  // 客户业务组件
  CustomerGradeSelector,
  CustomerSourceSelector,
  CustomerStatusSelector,

  // 地区业务组件
  RegionCascader,

  // 布局组件
  Header,

  // 公共组件
  GlobalDrawer,
}

// 默认导出
export default {
  // 基础组件
  BaseTable,
  BaseForm,
  BaseDialog,
  BasePagination,
  BaseActionButtons,
  BaseStatusTag,
  SearchBar,
  IconSelector,

  // 客户业务组件
  CustomerGradeSelector,
  CustomerSourceSelector,
  CustomerStatusSelector,

  // 地区业务组件
  RegionCascader,

  // 布局组件
  Header,

  // 公共组件
  GlobalDrawer,
}
